<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp"%>
<%@ include file="/commons/commonDetail.jsp"%>
<html>
<head>
<title>费用详细信息——财务经理</title>

<script type="text/javascript">
 function search(){
	   var period = document.getElementById("period").value;
	   var status = document.getElementById("status").value;
	   alert(period+"     "+status);
	   document.frames["payDetailFrame"].document.location.href="${ctx}/house_proRightModificationAction.do?method=payDetailList";
   }


   //打开前台缴费
   function getHouseCashiering(keyword,proRightId,accountId){
		var param="&keyword="+keyword+"&proRightId="+proRightId+"&accountId="+accountId;
   		var url="${ctx}/charge_cashieringAction.do?method=getHouseChargeMessage&link=true"+param;
  		windowOpen(url, 'HouseChargeMessage', '', 560, 950,true,'HouseChargeMessage');

  		//${ctx}/charge_cashieringAction.do?method=initChargeDetailList&accountHouseId=${houseId}&accountId=${accountId}&periodId=${periodId}&stat=${status}

   }

   </script>
</head>

<body>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td class="window_head_outBg"><table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><img src="${ctx }/images/ico_Advance.gif" width="16" height="16" align="absmiddle"> <span class="window_head_intext">${key.goOutDetail }</span></td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td class="aux_header_line_1"></td>
    </tr>
    <tr>
      <td class="aux_header_line_2"></td>
    </tr>
    <tr>
      <td valign="middle" class="content">

	  <div  style="height:160px;overflow:auto;">
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="container_in_show">
        <tr>
          <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="tab_subMenu1">
            <tr>
              <td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
                <tr>
                  <td><table width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color">

                       <tr>
                         <td colspan="4" class="aux_titletable">
                         <c:if test="${proRightId == null ||accountId== null  }"> ${key.houseChargeList_no }</c:if>
						 <c:if test="${accountId != null }"><a href="#" style="color: red" onclick="getHouseCashiering('${houseId}','${proRightId }','${accountId }');"> ${key.houseChargeList }</a></c:if>
                         </td>
                       </tr>

                       <tr>
                        <td colspan="4" class="aux_titletable">${key.goOutAuditing }</td>
                            </tr>
                              <tr>
                                <td colspan="4" class="aux_intable_td1"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_line" >
                                  <tr>
                                    <td ><table width="100%" border="0" cellspacing="0" cellpadding="0" id="crmGrid" class="gridControl gridArea">
                                       <tr >
                      <td width="10%" class="align_left"  onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">${key.examineType }</span></td>
                      <td width="8%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">${key.examineAction }</span></td>
                      <td width="40%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">${key.notion }</span></td>
					  <td width="10%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'"><span class="grid grid_head_line">${key.examineDate }</span></td>
					  <td width="6%" class="align_left" onMouseOver="this.className='grid_sort_on align_left'" onMouseOut="this.className='align_left'">${key.userName }</td>
                      </tr>
                                      </table>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0"  class='gridData2'>
                                        <c:forEach var="examine" items="${examineList}">
                                          <tr class="grid"  >
                                           <td width="10%" class="grid align_left">${examine.type }</td>
                                           <td width="8%" class="grid align_left"><c:if test="${examine.examineActionCode == '001' }">${key.pass }</c:if>
                                        <c:if test="${examine.examineActionCode == '002' }">${key.noPass }</c:if>
                                        <c:if test="${examine.examineActionCode=='003'}">${key.antiAudit }</c:if></td>
                                           <td width="40%" class="grid align_left">${examine.notion }</td>
                                           <td width="10%" class="grid align_left"> <fmt:formatDate pattern="yyyy-MM-dd"  value="${examine.examineDate }" /></td>
                                           <td width="6%" class="grid align_left">${examine.userName }</td>
                                         </tr>
                                        </c:forEach>

                                        </table></td>
                                  </tr>
                              </table></td>
                        </tr>

                  </table></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      </table>
      </div>

	  </td>
    </tr>
    <tr>
      <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
          <td class="btn_between_space"></td>
          <td>&nbsp;</td>
          <td class="btn_between_space"></td>
          <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_71"></td>
              <td class="buttonOffMiddle" id="btn1_72" onClick="windowClose();" onMouseOver="btn_change_over(7)" onMouseOut="btn_change_out(7)" onblur="btn_change(7)"><img src="${ctx }/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom"> ${key.close }</td>
              <td class="buttonOffRight" id="btn1_73"></td>
            </tr>
          </table></td>
        </tr>
      </table></td>
    </tr>
  </table>

</body>
</html>